﻿	<table class="table table-bordered">
	<thead>
		<tr>
			<th>Nº</th>
			<th>Responsável</th>
			<th>Setor</th>
			<th>Telefone</th>
			<th>Email</th>
			<th>Editar</th>
			<th>Apagar</th>
		</tr>
	</thead>
	<tbody>
	<?php
	$count = 0;
	if(isset($responsaveis)) foreach($responsaveis as $responsavel):
	$count++;
	?>
		<tr>
			<td><?php echo $count; ?></td>
			<td><?php echo $responsavel->nome; ?></td>
			<td><?php echo $responsavel->setor; ?></td>
			<td><?php echo $responsavel->telefone; ?></td>
			<td><?php echo $responsavel->email; ?></td>
			<td><?php echo Html::anchor('responsavel/editar/'.$responsavel->id, 'Editar'); ?></td>
			<td><?php echo Html::anchor('responsavel/apagar/'.$responsavel->id, 'Apagar'); ?></td>
		</tr>
	<?php endforeach; ?>
	</tbody>
	</table>